#pragma once
#include <iostream>

class Task
{
private:
    int _x;
    int _y;
public:
    Task(int x, int y)
        :_x(x),_y(y)
    {}
    void run()
    {
        std::cout << "run Task:" << "x" << _x << "+" << "y" << _y <<"=" <<_x+_y << std::endl;
    }   
    ~Task()
    {};
};
